//引入mongoose
const { Schema, model } = require('mongoose');
//创建数据结构
const studentsSchema = new Schema({
    passWord: String,
    userGender: String,
    userName: String,
    userPhone: String,
    imagePath:String
}, { versionKey: false })
//创建模型对象
const studentsModel = model('studentsModel', studentsSchema, 'users')

module.exports = {
    studentsModel
}